<!DOCTYPE html>
<html lang="en" >
<head>
	<meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta name="apple-mobile-web-app-status-bar-style" content="blank">
    <meta content="telephone=no" name="format-detection" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>活动促销</title>
    <link rel="stylesheet" href="./css/reset.css">
    <link rel="stylesheet" href="./css/common.css" />
    <link rel="stylesheet" href="./css/cuxiao.css">
    <link rel="stylesheet" href="./css/swiper-3.4.2.min.css">
    <script src="js/jquery-1.11.3.min.js"></script>
    <script src="js/flexible_css.js"></script>
    <script src="js/flexible.js"></script>

</head>
<body ontouchstart>

    <div class="wrap">
      <ul class="choose">
        <li class="active">全部</li>
        <li>茶叶</li>
        <li>酒水</li>
    </ul>
    <div class="swiper-container">
      <div class="swiper-wrapper">
          <!-- 全部对应的内容块 -->
        <div class="swiper-slide" >
            <div class="contBox">
                <section class="clearfloat">
                    <div> <span>商城价格 <br>2621元</span> <img style="padding-top: .133333rem;" src="./images/purchase_commodity_1@2x.png" alt="图炸了"></div>
                    <div><img style="padding-top: 2.5rem" src="./images/upgrade@2x.png" alt="图炸了"></div>
                    <div><img src="./images/upgrade_commodity_1@2x.png" alt="图炸了"> <span>$448元</span> </div>
                </section>
                <button>购买升级</button>
            </div>
            <div class="contBox">
                    <section class="clearfloat">
                        <div> <span>商城价格 <br>289元</span> <img style="padding-top: .133333rem;" src="./images/purchase_commodity_2@2x.png" alt="图炸了"></div>
                        <div><img style="padding-top: 2.5rem" src="./images/upgrade@2x.png" alt="图炸了"></div>
                        <div><img src="./images/upgrade_commodity_2@2x.png" alt="图炸了"> <span>￥468元</span> </div>
                    </section>
                    <button>购买升级</button>
            </div>
        </div>
          <!-- 茶水对应的内容块 -->
        <div class="swiper-slide" >
                <div class="contBox">
                        <section class="clearfloat">
                            <div> <span>商城价格 <br>289元</span> <img style="padding-top: .133333rem;" src="./images/purchase_commodity_2@2x.png" alt="图炸了"></div>
                            <div><img style="padding-top: 2.5rem" src="./images/upgrade@2x.png" alt="图炸了"></div>
                            <div><img src="./images/upgrade_commodity_2@2x.png" alt="图炸了"> <span>￥468元</span> </div>
                        </section>
                        <button>购买升级</button>
                </div>
        </div>
          <!-- 酒水对应的内容块 -->
        <div class="swiper-slide" >
                <div class="contBox">
                        <section class="clearfloat">
                            <div> <span>商城价格 <br>289元</span> <img style="padding-top: .133333rem;" src="./images/purchase_commodity_2@2x.png" alt="图炸了"></div>
                            <div><img style="padding-top: 2.5rem" src="./images/upgrade@2x.png" alt="图炸了"></div>
                            <div><img src="./images/upgrade_commodity_2@2x.png" alt="图炸了"> <span>￥468元</span> </div>
                        </section>
                        <button>购买升级</button>
                </div> <div class="contBox">
                        <section class="clearfloat">
                            <div> <span>商城价格 <br>289元</span> <img style="padding-top: .133333rem;" src="./images/purchase_commodity_2@2x.png" alt="图炸了"></div>
                            <div><img style="padding-top: 2.5rem" src="./images/upgrade@2x.png" alt="图炸了"></div>
                            <div><img src="./images/upgrade_commodity_2@2x.png" alt="图炸了"> <span>￥468元</span> </div>
                        </section>
                        <button>购买升级</button>
                </div> <div class="contBox">
                        <section class="clearfloat">
                            <div> <span>商城价格 <br>289元</span> <img style="padding-top: .133333rem;" src="./images/purchase_commodity_2@2x.png" alt="图炸了"></div>
                            <div><img style="padding-top: 2.5rem" src="./images/upgrade@2x.png" alt="图炸了"></div>
                            <div><img src="./images/upgrade_commodity_2@2x.png" alt="图炸了"> <span>￥468元</span> </div>
                        </section>
                        <button>购买升级</button>
                </div>
        </div>
      </div>
    </div>
     


    </div>

	<script src="js/swiper-3.4.2.min.js"></script>
    <script>
   
    
  </script>
   <script> 
    $(function(){
        var mySwiper = new Swiper('.swiper-container', {
            onTransitionEnd: function(swiper){
                $('li').eq(mySwiper.activeIndex).addClass('active').siblings().removeClass('active');
            }
        })
        $('li').click(function(){
            $(this).addClass('active').siblings().removeClass('active');
            mySwiper.slideTo($(this).index(), 1000)
        });
    })        
   </script>
   <script>
       $('.contBox >button').on('click',function(){
          window.location.href="http://192.168.0.38:8000/goodsDetail.html"
          
       })
   </script>
</body>
</html>
